<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <script>
    // const obj = {


    //   aaa() {
    //     // setTimeout(function () {
    //     //   console.log(this)
    //     // }, 100);

    //     console.log(this)

    //     setTimeout(() => {
    //       console.log(this)
    //     }, 100);

    //   }
    // }

    // obj.aaa()
		
		
		
		var arr=[12,45,4,65,131,651,31,313,31,3,13,13,45,15]
		
		arr.forEach(function(item,index){
			console.log(index,item)
			
			
		})
  </script>
</body>

</html>